﻿#ifndef COMMON_DEFINITIONS
#define COMMON_DEFINITIONS


RasterizerState DisableCulling
{
    CullMode = None;
};

DepthStencilState DisableDepth
{
    DepthEnable = false;
};

DepthStencilState EnableDepth
{
    DepthEnable = true;
};

BlendState SrcAlphaBlendingAdd
{
	BlendEnable[0] = TRUE;
	SrcBlend = SRC_ALPHA;
	DestBlend = INV_SRC_ALPHA;
	BlendOp = ADD;
	SrcBlendAlpha = ZERO;
	DestBlendAlpha = ZERO;
	BlendOpAlpha = ADD;
	RenderTargetWriteMask[0] = 0x0F;
};

SamplerState PlanarSampler
{
	Filter = MIN_MAG_MIP_LINEAR;
    AddressU = Wrap;
    AddressV = Wrap; 
};

#endif
